﻿using MySoft.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Super.Collection.Services
{
    public class ServiceBase
    {
          /// <summary>
        /// DB层操作接口
        /// </summary>
        private DbSession dbSession;

        /// <summary>
        /// DB层操作接口
        /// </summary>
        protected DbSession DbSession
        {
            get { return dbSession; }
        }

        /// <summary>
        /// 服务构造函数
        /// </summary>
        public ServiceBase()
        {
            this.dbSession = new DbSession("collection.LotteryTicket");
        }
    }
}
